import { domainService } from '~/config/server'
import { NetService } from '~/utils/net.service'
import { Inject, Debounce } from "~/core/decorator";


export class NameListEliminateStrategyService {
  @Inject(NetService)
  private netService: NetService

  /**
   * 列表
   */
  public getTagApplyById(data) {
    return this.netService.send({
      server: domainService.nameListEliminateStrategyController.findNameListEliminateStrategyById,
      data,
      loading: true,
    })
  }
  /**
   * 客户号查客户信息
   */
  public findCaseInfoByCustomerNo(data) {
    return this.netService.send({
      server: domainService.nameListEliminateStrategyController.findCaseInfoByCustomerNo,
      data,
      loading: true,
    })
  }
  /**
   * 账户号查账户信息
   */
  public findCaseInfoByCaseNumber(data) {
    return this.netService.send({
      server: domainService.nameListEliminateStrategyController.findCaseInfoByCaseNumber,
      data,
      loading: true,
    })
  }
}
